package com.gd.iot.energy.util;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gd.iot.energy.consts.SystemConsts;

/**
 * Description
 *
 * @author kris
 * @date Created at 2020/8/4 11:54
 */
public class EnergyTypeUtil {
    public static <T> void injectEnergyTypeWrapper(QueryWrapper<T> queryWrapper){
        queryWrapper.eq("energy_type", SystemConsts.EnergyTypeEnum.WATER.value);
    }
}
